package edu.sctu.xuping.month06.transformation;

/**
 * Created by user02
 */
public class RunMain {
    public static void main(String[] args) {
        Father child1 = new Child1();
        Father child2 = new Child2();
        Child1 child12 = new Child2();
        Child2 child3 = new Child2();
        child1.eateThing();
        child2.drinkThing();
        child12.eateThing();
        child12.eateThing();
        child1.drinkThing();
        child12.watchThing();
        child12.drinkThing();
        child3.playThing();
    }
}
